package com.mycompany.share.entity;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class ShareEntity {
	private long id;
	private String data;
	
	public ShareEntity() {
		
	}
	
	public ShareEntity(long id, String data) {
		
		this.id = id;
		this.data = data;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "Share [id=" + id + ", data=" + data + "]";
	}
}
